package com.jming.yygh.msm.service;

import com.jming.yygh.vo.msm.MsmVo;

/**
 * @author jming
 * @version 0.0.1
 * @date 2021/05/09
 */
public interface MsmService {

    /**
     * 根据手机号发送验证码
     * @param phone
     * @param code
     * @return boolean
     */
    boolean send(String phone, String code);

    /**
     * Mq发送短信的封装
     * @param msmVo
     * @return boolean
     */
    boolean send(MsmVo msmVo);
}
